const Router = require('koa-router')
const {PositiveIntegerValidator} = require('../../validator/vilidator')
const {Auth} = require('../../../middlewares/auth')

const router = new Router({
  prefix: '/v1/classic'
})

router.get('/latest', new Auth(2).m, (ctx, next) => {
  ctx.body = ctx.auth.uid
  // const path = ctx.params
  // const query = ctx.request.query
  // const header = ctx.request.header
  // const body = ctx.request.body
  // const v = await new PositiveIntegerValidator().validate(ctx)
  
})


module.exports = router